package com.core.zyyz.pcmc.domain;

import com.core.common.annotation.Excel;
import com.core.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据分享对象 data_share
 *
 * @author core
 * @date 2024-10-17
 */
public class DataShare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String ID;

    /** 页面ID */
    @Excel(name = "页面ID")
    private String pageCode;

    /** 分享人 */
    @Excel(name = "分享人")
    private String shareUser;

    /** 业务主键 */
    @Excel(name = "业务主键")
    private String businessKey;

    /** 业务标题 */
    @Excel(name = "业务标题")
    private String businessTitle;

    /** 分享类型 D：机构，U：员工 */
    @Excel(name = "分享类型 D：机构，U：员工")
    private String shareType;

    /** 所属组织 */
    @Excel(name = "所属组织")
    private String orgCode;

    /** 被分享人/机构 */
    @Excel(name = "被分享人/机构")
    private String shareTaget;

    /** 分享功能 */
    @Excel(name = "分享功能")
    private String shareFunction;

    private String pageName;
    private String userName;
    private String orgName;
    private String targetName;

    public String getPageName() {
        return pageName;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public void setID(String ID)
    {
        this.ID = ID;
    }

    public String getID()
    {
        return ID;
    }
    public void setPageCode(String pageCode)
    {
        this.pageCode = pageCode;
    }

    public String getPageCode()
    {
        return pageCode;
    }
    public void setShareUser(String shareUser)
    {
        this.shareUser = shareUser;
    }

    public String getShareUser()
    {
        return shareUser;
    }
    public void setBusinessKey(String businessKey)
    {
        this.businessKey = businessKey;
    }

    public String getBusinessKey()
    {
        return businessKey;
    }
    public void setBusinessTitle(String businessTitle)
    {
        this.businessTitle = businessTitle;
    }

    public String getBusinessTitle()
    {
        return businessTitle;
    }
    public void setShareType(String shareType)
    {
        this.shareType = shareType;
    }

    public String getShareType()
    {
        return shareType;
    }
    public void setOrgCode(String orgCode)
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode()
    {
        return orgCode;
    }
    public void setShareTaget(String shareTaget)
    {
        this.shareTaget = shareTaget;
    }

    public String getShareTaget()
    {
        return shareTaget;
    }
    public void setShareFunction(String shareFunction)
    {
        this.shareFunction = shareFunction;
    }

    public String getShareFunction()
    {
        return shareFunction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("pageCode", getPageCode())
                .append("shareUser", getShareUser())
                .append("businessKey", getBusinessKey())
                .append("businessTitle", getBusinessTitle())
                .append("shareType", getShareType())
                .append("orgCode", getOrgCode())
                .append("shareTaget", getShareTaget())
                .append("shareFunction", getShareFunction())
                .append("pageName", getPageName())
                .append("userName", getUserName())
                .append("orgName", getOrgName())
                .append("targetName", getTargetName())
                .toString();
    }


}
